FMSL New File Wizard
Purpose: To test the FMSL New File Wizard in Eclipse. We will complete the FMSL
New File Wizard, verify its appearance, and verify its behaviour.
Setup:
- Install Eclipse Platform.
- Install FMSLEclipse plugin.
- Create a project.
Method:
- Start the workbench.
- Invoke File > New > Other. In the "Select a Wizard" dialog, select
FMSL Wizards > FMSL File. Verify that the icon next to the wizard depicts a
file with an "F" on it.
- Select Next button. Verify the image banner at the top of the wizard is
correct.
- Enter "newfile" into the file name text box and verify the finish button
is still ghosted.
- Enter "newfile.fm into the file name text box and verify the error
"File extension must be "fmsl" " is displayed at the top of the wizard.
- Enter "newfile.fmsl into the file name text box and verify the finish
button is available.
- Select Finish button. Verify the file has been created in the resource
view and that it has been opened in an fmsl text editor.
- Repete the above steps and verify the wizard displays the error "The same
name already exists."